package com.dify.domain.req;


import java.io.Serializable;
import java.util.Map;

/**
 * Dify请求体.
 */

public class DifyRequestBody implements Serializable {

    /**
     * 这个是我们自己用的  发给dify的
     */


    /**
     * 用户输入/提问内容.
     */
    private String query;

    /**
     * 允许传入 App 定义的各变量值.
     */
    private Map<String, String> inputs;

    /**
     * 响应模式，streaming 流式，blocking 阻塞.
     */
    private String response_mode;

    /**
     * 用户标识.
     */
    private String user;

    /**
     * 会话id.
     */
    private String conversation_id;

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public Map<String, String> getInputs() {
        return inputs;
    }

    public void setInputs(Map<String, String> inputs) {
        this.inputs = inputs;
    }

    public String getResponse_mode() {
        return response_mode;
    }

    public void setResponse_mode(String response_mode) {
        this.response_mode = response_mode;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getConversation_id() {
        return conversation_id;
    }

    public void setConversation_id(String conversation_id) {
        this.conversation_id = conversation_id;
    }
}